#
# Be sure to run `pod lib lint SFMessages.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'SFMessages'
  s.version          = '0.1.2'
  s.summary          = 'A short description of SFMessages.'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
TODO: Add long description of the pod here.
                       DESC

  s.homepage         = 'https://gitee.com/sfriend/SFMessages'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'crazytom26' => 'crazytom26@163.com' }
  s.source           = { :git => 'https://gitee.com/sfriend/SFMessages.git', :tag => s.version.to_s }
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
  s.vendored_libraries = ['SFMessages/Classes/EaseUI/Library/libopencore-amrnb.a','SFMessages/Classes/EaseUI/Library/libopencore-amrwb.a']
  s.ios.deployment_target = '8.0'

  s.source_files = 'SFMessages/Classes/**/*.{h,m,mm}'

  # s.resource_bundles = {
  #   'SFMessages' => ['SFMessages/Assets/*.png']
  # }
  s.resources = ['SFMessages/Classes/EaseUI/resources/EaseUIResource.bundle']

  # s.public_header_files = 'Pod/Classes/**/*.h'
  s.frameworks = 'Foundation', 'UIKit'
  s.libraries    = 'stdc++'
  s.xcconfig     = {'OTHER_LDFLAGS' => '-ObjC'}
  s.dependency 'MWPhotoBrowser'
  s.dependency 'MJRefresh'
  s.dependency 'SDWebImage'
  s.dependency 'MBProgressHUD'
  s.dependency 'XXChatTool'
  s.dependency 'Masonry'
  s.dependency 'SFColorTool'
end
